<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        span{
            display: inline-block;
            height:30px;
            width:30px;
            border:3px solid red;
            /* 雪碧图 精灵图  多个小图片放在一起，当做背景图，通过坐标来显示(负值)*/
            background: url(aaa.png) -285px 0px;
        }
    </style>
</head>
<body>
    <span></span>
</body>
</html>